package pro.cherish.knowledgeobjectstorage.config.storageConfig;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@Data
@ConfigurationProperties(prefix = "cherishmall.storage.qiniu")
@PropertySource(value = "classpath:application-storage.properties")
public class QiniuProperties {
    private String endpoint;
    private String accessKey;
    private String secretKey;
    private String bucketName;
}
